package com.xf.tourismapp.activities;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.xf.tourismapp.R;

public class GuideActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_guide);
    }

    //点击立即体验按钮执行该方法
    public void goNext(View v)
    {
        //新建Intent对象
        Intent i=new Intent(GuideActivity.this,LoginActivity.class);
        //启动跳转LoginActivity
        startActivity(i);
        //关闭当前界面
        finish();
    }
}